package com.fastloan.jn.mgt.application.basic.model;

import com.kawins.base.baseabs.BaseModel;

import javax.persistence.*;

@Table(name = "JN_APPLICATION_FILE")
public class JnApplicationFile extends BaseModel<String>{
    /**
     * 进件id
     */
    @Column(name = "APPLICATION_ID")
    private String applicationId;

    /**
     * 类型
     */
    @Column(name = "TYPE")
    private Integer type;

    /**
     * 文件id
     */
    @Column(name = "FILE_ID")
    private String fileId;

    public JnApplicationFile(String applicationId, Integer type, String fileId) {
        this.applicationId = applicationId;
        this.type = type;
        this.fileId = fileId;
    }

    public JnApplicationFile() {
    }

    /**
     * 获取进件id
     *
     * @return APPLICATION_ID - 进件id
     */
    public String getApplicationId() {
        return applicationId;
    }

    /**
     * 设置进件id
     *
     * @param applicationId 进件id
     */
    public void setApplicationId(String applicationId) {
        this.applicationId = applicationId;
    }

    /**
     * 获取类型
     *
     * @return TYPE - 类型
     */
    public Integer getType() {
        return type;
    }

    /**
     * 设置类型
     *
     * @param type 类型
     */
    public void setType(Integer type) {
        this.type = type;
    }

    /**
     * 获取文件id
     *
     * @return FILE_ID - 文件id
     */
    public String getFileId() {
        return fileId;
    }

    /**
     * 设置文件id
     *
     * @param fileId 文件id
     */
    public void setFileId(String fileId) {
        this.fileId = fileId;
    }
}